package hrms.dao;

import hrms.entity.Company;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository("companyDao")
public interface CompanyDao extends MainDao<Company>{
	public int findRow();
	public List<Company> findAll(int start ,int end);
	public Map<String,String> findDetail(int companyId);
	public Company findOne(int companyId);
	public int deleteCompanyInfo(int companyId);
	public int updateCompanyInfo(Company company);
	public int addCompanyInfo(Company company);
}
